package com.yc.bean;

public class Order {
	private int oid;
	private int uid;
	private int gid;
	private int aid;
	private int ptid;
	private String date;
	private double money;
	private int status;
	
	private String tname;//商品名
	private double price;//商品单价
	private int num;//商品购买数量
	private String pic;//商品图片
	public int getOid() {
		return oid;
	}
	public void setOid(int oid) {
		this.oid = oid;
	}
	public int getUid() {
		return uid;
	}
	public void setUid(int uid) {
		this.uid = uid;
	}
	public int getGid() {
		return gid;
	}
	public void setGid(int gid) {
		this.gid = gid;
	}
	public int getAid() {
		return aid;
	}
	public void setAid(int aid) {
		this.aid = aid;
	}
	public int getPtid() {
		return ptid;
	}
	public void setPtid(int ptid) {
		this.ptid = ptid;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public double getMoney() {
		return money;
	}
	public void setMoney(double money) {
		this.money = money;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getTname() {
		return tname;
	}
	public void setTname(String tname) {
		this.tname = tname;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public String getPic() {
		return pic;
	}
	public void setPic(String pic) {
		this.pic = pic;
	}
	public Order(int oid, int uid, int gid, int aid, int ptid, String date, double money, int status, String tname,
			double price, int num, String pic) {
		super();
		this.oid = oid;
		this.uid = uid;
		this.gid = gid;
		this.aid = aid;
		this.ptid = ptid;
		this.date = date;
		this.money = money;
		this.status = status;
		this.tname = tname;
		this.price = price;
		this.num = num;
		this.pic = pic;
	}
	public Order() {
		super();
	}
	
	
}
